//
//  DYCSquareCell.m
//  DYCBaisi
//
//  Created by ChaoMac on 17/7/13.
//  Copyright © 2017年 Yachao. All rights reserved.
//

#import "DYCSquareCell.h"
#import "DYCSquareItem.h"
@interface DYCSquareCell ()

@property (weak, nonatomic) IBOutlet UIImageView *iconView;

@property (weak, nonatomic) IBOutlet UILabel *nameView;

@end

@implementation DYCSquareCell

- (void)setItem:(DYCSquareItem *)item{
    _item = item;
    [_iconView sd_setImageWithURL:[NSURL URLWithString:item.icon] placeholderImage:[UIImage imageNamed:@"1哈哈哈哈"]];
    _nameView.text = item.name;
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

@end
